home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / chat / ircii-2.8he / ircii-2 / help / menus < prev    next >
Encoding:
Text File  |  1993-05-04  |  1.7 KB  |  47 lines

  1. This describes a feature which allows one to create and use
  2. menus in any irc session.  The menus are totally user
  3. configurable and a test menu has been provided at the end
  4. of this help file.
  5. To use this menu, copy it to your home directory calling it
  6. 'test', run IRC, and do the following:
  7.   MLOAD test
  8.   SET menu Main Menu
  9.  
  10. Control-R is bound to ENTER_MENU, and while in the menu
  11. you can use vi-like keys or EMACS-like keys to move
  12. through the options, and either '.' or SPACE to select
  13. an option. The format of the menu file is as follows
  14.  
  15. A line beginning with a '#' represents a comment.
  16. Blank lines are ignored.
  17. A line beginning with the word "MENU" starts a new menu
  18. and gives it a name.
  19. A line beginning with the word "OPTION" adds a new option
  20. to the menu, gives it a name and describes what it does.
  21. It's possible to have one menu OPTION lead you into a new menu with
  22.   OPTION "Sub Menu" COMMAND set menu Sub Menu
  23. assuming the Sub Menu has been defined like the following Main Menu.
  24.  
  25. The following is a test menu to show how it it can be used.
  26.  
  27. # Cut off this line.. and take everything down to the next Cut line ---
  28. # Test menu to see how our menu reader works
  29.  
  30. MENU Main Menu
  31.     OPTION "This menu" MENU Main Menu
  32.     OPTION "List Channels" COMMAND LIST
  33.     OPTION "Join Channel" COMMAND JOIN $"Join Channel: "
  34.     OPTION "Leave Channel" COMMAND PART *
  35.     OPTION "Change Name" COMMAND NICK $"New NickName: "
  36.     OPTION "Private Message" COMMAND MSG $"Person to send message to: " $"Text of message: "
  37.     OPTION "Say something" COMMAND SAY $"Say: "
  38.     OPTION "Exit Menu" EXIT
  39.     OPTION "Exit IRC" COMMAND if ( [$"Really quit? "] == [y] ) { QUIT }
  40.     OPTION "Kill Menu" COMMAND set -menu
  41.  
  42. # Cut off this line and take everything up to the previous Cut line ----
  43.  
  44. See Also:
  45.   SET MENU
  46.   MLOAD
  47.